Optimal. Leaf size=46 \[ \frac{\tan ^{-1}\left (\frac{\sqrt{a} \sqrt{x}}{\sqrt{b}}\right )}{a^{3/2} \sqrt{b}}-\frac{\sqrt{x}}{a (a x+b)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0158499, antiderivative size = 46, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.267, Rules used = {263, 47, 63, 205} \[ \frac{\tan ^{-1}\left (\frac{\sqrt{a} \sqrt{x}}{\sqrt{b}}\right )}{a^{3/2} \sqrt{b}}-\frac{\sqrt{x}}{a (a x+b)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 263
Rule 47
Rule 63
Rule 205
Rubi steps
\begin{align*} \int \frac{1}{\left (a+\frac{b}{x}\right )^2 x^{3/2}} \, dx &=\int \frac{\sqrt{x}}{(b+a x)^2} \, dx\\ &=-\frac{\sqrt{x}}{a (b+a x)}+\frac{\int \frac{1}{\sqrt{x} (b+a x)} \, dx}{2 a}\\ &=-\frac{\sqrt{x}}{a (b+a x)}+\frac{\operatorname{Subst}\left (\int \frac{1}{b+a x^2} \, dx,x,\sqrt{x}\right )}{a}\\ &=-\frac{\sqrt{x}}{a (b+a x)}+\frac{\tan ^{-1}\left (\frac{\sqrt{a} \sqrt{x}}{\sqrt{b}}\right )}{a^{3/2} \sqrt{b}}\\ \end{align*}
Mathematica [A] time = 0.0207734, size = 46, normalized size = 1. \[ \frac{\tan ^{-1}\left (\frac{\sqrt{a} \sqrt{x}}{\sqrt{b}}\right )}{a^{3/2} \sqrt{b}}-\frac{\sqrt{x}}{a (a x+b)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.009, size = 37, normalized size = 0.8 \begin{align*} -{\frac{1}{a \left ( ax+b \right ) }\sqrt{x}}+{\frac{1}{a}\arctan \left ({a\sqrt{x}{\frac{1}{\sqrt{ab}}}} \right ){\frac{1}{\sqrt{ab}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.81852, size = 277, normalized size = 6.02 \begin{align*} \left [-\frac{2 \, a b \sqrt{x} + \sqrt{-a b}{\left (a x + b\right )} \log \left (\frac{a x - b - 2 \, \sqrt{-a b} \sqrt{x}}{a x + b}\right )}{2 \,{\left (a^{3} b x + a^{2} b^{2}\right )}}, -\frac{a b \sqrt{x} + \sqrt{a b}{\left (a x + b\right )} \arctan \left (\frac{\sqrt{a b}}{a \sqrt{x}}\right )}{a^{3} b x + a^{2} b^{2}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 21.7266, size = 337, normalized size = 7.33 \begin{align*} \begin{cases} \tilde{\infty } x^{\frac{3}{2}} & \text{for}\: a = 0 \wedge b = 0 \\\frac{2 x^{\frac{3}{2}}}{3 b^{2}} & \text{for}\: a = 0 \\- \frac{2}{a^{2} \sqrt{x}} & \text{for}\: b = 0 \\- \frac{2 i a \sqrt{b} \sqrt{x} \sqrt{\frac{1}{a}}}{2 i a^{3} \sqrt{b} x \sqrt{\frac{1}{a}} + 2 i a^{2} b^{\frac{3}{2}} \sqrt{\frac{1}{a}}} + \frac{a x \log{\left (- i \sqrt{b} \sqrt{\frac{1}{a}} + \sqrt{x} \right )}}{2 i a^{3} \sqrt{b} x \sqrt{\frac{1}{a}} + 2 i a^{2} b^{\frac{3}{2}} \sqrt{\frac{1}{a}}} - \frac{a x \log{\left (i \sqrt{b} \sqrt{\frac{1}{a}} + \sqrt{x} \right )}}{2 i a^{3} \sqrt{b} x \sqrt{\frac{1}{a}} + 2 i a^{2} b^{\frac{3}{2}} \sqrt{\frac{1}{a}}} + \frac{b \log{\left (- i \sqrt{b} \sqrt{\frac{1}{a}} + \sqrt{x} \right )}}{2 i a^{3} \sqrt{b} x \sqrt{\frac{1}{a}} + 2 i a^{2} b^{\frac{3}{2}} \sqrt{\frac{1}{a}}} - \frac{b \log{\left (i \sqrt{b} \sqrt{\frac{1}{a}} + \sqrt{x} \right )}}{2 i a^{3} \sqrt{b} x \sqrt{\frac{1}{a}} + 2 i a^{2} b^{\frac{3}{2}} \sqrt{\frac{1}{a}}} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.11157, size = 49, normalized size = 1.07 \begin{align*} \frac{\arctan \left (\frac{a \sqrt{x}}{\sqrt{a b}}\right )}{\sqrt{a b} a} - \frac{\sqrt{x}}{{\left (a x + b\right )} a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]